home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Picture It! Photo Premium Version 9 / PI_CD1.ISO / pip / pi9 / 1033 / tour.swf / scripts / DefineButton2_145 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2003-05-22  |  764 b   |  43 lines

  1. on(release){
  2.    tellTarget("_level0")
  3.    {
  4.       gotoAndStop("lighting");
  5.       play();
  6.       _level0;
  7.       if(sku == "PIE")
  8.       {
  9.          tellTarget("_level0")
  10.          {
  11.             gotoAndStop("lighting2");
  12.             play();
  13.          }
  14.       }
  15.       _level0;
  16.       if(sku == "PIENO")
  17.       {
  18.          tellTarget("_level0")
  19.          {
  20.             gotoAndStop("lighting2");
  21.             play();
  22.          }
  23.       }
  24.       _level0;
  25.       if(sku == "PIP")
  26.       {
  27.          tellTarget("_level0")
  28.          {
  29.             gotoAndStop("lighting2");
  30.             play();
  31.          }
  32.       }
  33.    }
  34.    tellTarget("_level0.show")
  35.    {
  36.       _level.selection = "clear";
  37.    }
  38.    tellTarget("_level0.trans1")
  39.    {
  40.       play();
  41.    }
  42. }
  43.